package com.remainder.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import com.remainder.common.security.annotation.EnableRyFeignClients;

/**
 * 认证授权中心
 *
 * @author remainder
 */
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class RemainderAuthApplication {
    public static void main(String[] args) {
        long currentTime = System.currentTimeMillis();
        SpringApplication.run(RemainderAuthApplication.class, args);
        System.out.println("认证授权中心启动成功，耗时[" + (System.currentTimeMillis() - currentTime) + "]ms");
    }
}
